package com.bangwz.aio;

import java.io.IOException;

public class Server {

	public volatile static long clientCount = 0;

	private static int port = 9527;

	public static void start() throws IOException {
		AsyncServerHandler server = new AsyncServerHandler(port);
		new Thread(server, "Server").start();
	}

	public static void main(String[] args) {
		try {
			start();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}